﻿<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <title>metro-bootstrap: Twitter Bootstrap with Metro style</title>
    <link rel="stylesheet" type="text/css" href="../css/metro-bootstrap.css">
    <link rel="stylesheet" type="text/css" href="../css/patch.css">
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <script type="text/javascript" src="../docs/jquery-1.7.min.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-tooltip.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-alert.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-button.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-carousel.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-collapse.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-dropdown.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-modal.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-popover.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-scrollspy.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-tab.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-transition.js"></script>
    <script type="text/javascript" src="../docs/bootstrap-typeahead.js"></script>
    <script type="text/javascript" src="../docs/jquery.validate.js"></script>
    <script type="text/javascript" src="../docs/jquery.validate.unobtrusive.js"></script>
    <script type="text/javascript" src="../docs/jquery.unobtrusive-ajax.js"></script>
    <script type="text/javascript" src="../docs/jquery-ui-1.9.1.custom.min.js"></script>
    <script type="text/javascript" src="../docs/jquery.flip.min.js"></script>
    
	 <style>
      .thumbnails
        {
            overflow: hidden;
            width: 300px;
        }
    </style>
	<script>
	
	

        function fz()
        {
            var list = [];

            //id 旋转的ID direction旋转的方式
            list[list.length] = { id: "flipbox", direction: "rl" };
            list[list.length] = { id: "flipboxtb", direction: "tb" };
            list[list.length] = { id: "flipboxbt", direction: "rl" };
            list[list.length] = { id: "flipboxlr", direction: "lr" };
            list[list.length] = { id: "flipboxtxl", direction: "rl" };

            for (var i = 0; i < list.length; i++)
            {
                var flipbox = $("#" + list[i].id);
                flipbox.flip({
                    direction: list[i].direction,
                    speed: 800,
                    color: flipbox.css('background-color')
                });
            }

        }

        $(windowResize)

        $(window).resize(function ()
        {
            windowResize();
        });



        function windowResize()
        {
            var height = $(window).height();

            if (height > 800)
            {
                $("body").css("padding-top", "4%");

            } else if (height > 650)
            {
                $("body").css("padding-top", "2%");
            } else
            {
                $("body").css("padding-top", "20px");
            }

            $("body").css("-moz-background-size", "100% " + ($(document).height()) + "px ");
            $("body").css("background-size", "100% " + ($(document).height()) + "px ");
         

            var width = $(window).width();
            if (width <= 1220)
            {
                 LocdResize(1);
                $("#row").css("margin-left", "20px");
                $("#row").css("position", "static");
                $("#container_r").css("width", "850px");
                $(".rowleftico").css("padding-left", "20px");
                $(".rowleftico").css("padding-right", "30px");
                rowHide();
            } else
            {
                LocdResize(2);
                $("#container_r").css("width", "850px");
                $("#container").css("width", "1220px");
                fz()
            }
        }

        var _IsWindowResize=-1;
        function LocdResize(index)
        {
          
        }
        
        function rowShow()
        {
            $("#rowleftico").unbind();
            $("#row").show();
            $('#row').animate({ width: '280px' }, 1000, null, function ()
            {
                $("#rowleftico").bind("click", function () { rowHide() });
            });
            $("body").css("overflow-x", "auto");
            $("#container").css("width", "1300px");
            fz();
        }

        var _IsRowHide = false;

        function rowHide()
        {
            if (_IsRowHide == false)
            {
                _IsRowHide = true;
                $("#rowleftico").unbind();
                $('#row').css("width", "280px");
                $("#container").css("width", "1300px");

                $('#row').animate({ width: '0px' }, 1000, null, function ()
                {
                    $("#container").css("width", "1000px");
                    $(document).css("width", "1000px");
                    $("#row").hide();
                    $("#rowleftico").bind("click", function () { rowShow() });
                    _IsRowHide=false;
                });
                $("body").css("overflow-x", "hidden");
            }
        }

        $(window).scroll(function ()
        {
            if ($(document).scrollLeft() > 1)
            {
                rowHide();
                $(document).scrollLeft(0);
            }
        });

    </script>
</head>
<body data-spy="scroll" data-target=".subnav" data-offset="50" screen_capture_injected="true" >
    <div id="container" class="container">
        <div id="row" class="rowleft" >
            <ul class="thumbnails">
                <!-- 短磁片开始-->
                <li class="span3 tile tile-orange tileduan"id="flipboxlr"><a
                    href="#">
                    <!-- 短磁片图片-->
                    <img src="SKYPE.png" />
                    <!--短磁片说明-->
                    <h2 style="margin-top: 0px;">
                        社区</h2>
                </a></li>
                <!-- 短磁片结束-->
                <!-- 短磁片开始-->
                <li class="span3 tile tileduan" ><a href="#">
                    <!-- 短磁片图片-->
                    <img src="FL STUDIO B.png" />
                    <!--短磁片说明-->
                    <h2 style="margin-top: 0px;">
                        论坛</h2>
                </a></li>
                <!-- 短磁片结束-->
            </ul>
            <ul class="thumbnails">
                <!-- 长磁片开始-->
                <li class="tilenew span3 tile " style="width: 280px;"><a href="#">
                    <h1>
                        文档</h1>
                    <!-- 长磁片图片-->
                    <img src="WORLD.png" />
                    <!-- 长磁片说明-->
                </a></li>
                <!-- 长磁片结束-->
            </ul>
            <ul class="thumbnails">
                <!-- 短磁片开始-->
                <li class="span3 tile tileduan" id="Li2"><a href="#">
                    <!-- 短磁片图片-->
                    <img src="SKYPE.png" />
                    <!--短磁片说明-->
                    <h2 style="margin-top: 0px;">
                        社区</h2>
                </a></li>
                <!-- 短磁片结束-->
                <!-- 短磁片开始-->
                <li class="span3 tile tileduan"><a href="#">
                    <!-- 短磁片图片-->
                    <img src="FL STUDIO B.png" />
                    <!--短磁片说明-->
                    <h2 style="margin-top: 0px;">
                        论坛</h2>
                </a></li>
                <!-- 短磁片结束-->
            </ul>
            <ul class="thumbnails">
                <!-- 短磁片开始-->
                <li class="span3 tile tileSmall" id="Li3" style="height: 50px"><a href="#">
                    <!-- 短磁片图片-->
                    <img src="SKYPE.png" />
                    <!--短磁片说明-->
                    <h4>
                        社区</h4>
                </a></li>
                <!-- 短磁片结束-->
                <!-- 短磁片开始-->
                <li class="span3 tile tileSmall" id="Li1" style="height: 50px"><a href="#">
                    <!-- 短磁片图片-->
                    <img src="SKYPE.png" />
                    <!--短磁片说明-->
                    <h4>
                        社区</h4>
                </a></li>
            </ul>
            <ul class="thumbnails">
                <!-- 短磁片开始-->
                <li class="span3 tile tileSmall" id="Li4" style="height: 50px"><a href="#">
                    <!-- 短磁片图片-->
                    <img src="SKYPE.png" />
                    <!--短磁片说明-->
                    <h4>
                        社区</h4>
                </a></li>
                <!-- 短磁片结束-->
                <!-- 短磁片开始-->
                <li class="span3 tile tileSmall" id="Li5" style="height: 50px"><a href="#">
                    <!-- 短磁片图片-->
                    <img src="SKYPE.png" />
                    <!--短磁片说明-->
                    <h4>
                        社区</h4>
                </a></li>
            </ul>
        </div>
        <div class="rowleftico" id="rowleftico">
            <img src="favs.png" />
        </div>
        <div id="container_r" class="container_right">
            <div class="head">
                <h1>
                    最新博客<small> 列表</small></h1>
            </div>
            <div   class="icodiv">
                <button class="btn btn-primary" type="button">
                    Search</button>
                <button class="btn" type="button">
                        Options</button>
            </div>
            <div class="divlistFormList">
                <div>
                    <table class="table table-striped tableNew" style="position: relative;">
                        <thead>
                            <tr>
                                <th>
                                    标题
                                </th>
                                <th>
                                    作者
                                </th>
                                <th>
                                    创建时间
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td>
                                    东芝将推 1,300 万像素背照式 CMOS 感光元件，具qqqdd
                                </td>
                                <td>
                                    xxx22222222222222
                                </td>
                                <td>
                                    2012-1-1
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    xxxx
                                </td>
                                <td>
                                    xxx
                                </td>
                                <td>
                                    2012-1-1
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    xxxx
                                </td>
                                <td>
                                    xxx
                                </td>
                                <td>
                                    2012-1-1
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    xxxx
                                </td>
                                <td>
                                    xxx
                                </td>
                                <td>
                                    2012-1-1
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    xxxx
                                </td>
                                <td>
                                    xxx
                                </td>
                                <td>
                                    2012-1-1
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    xxxx
                                </td>
                                <td>
                                    xxx
                                </td>
                                <td>
                                    2012-1-1
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    xxxx
                                </td>
                                <td>
                                    xxx
                                </td>
                                <td>
                                    2012-1-1
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    xxxx
                                </td>
                                <td>
                                    xxx
                                </td>
                                <td>
                                    2012-1-1
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    xxxx
                                </td>
                                <td>
                                    xxx
                                </td>
                                <td>
                                    2012-1-1
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    xxxx
                                </td>
                                <td>
                                    xxx
                                </td>
                                <td>
                                    2012-1-1
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
            </div>
            <!--  分页-->
            <div class="pagination" >
                <ul>
                    <li><a href="#">Prev</a></li>
                    <li class="active"><a href="#">1</a> </li>
                    <li><a href="#">2</a></li>
                    <li><a href="#">3</a></li>
                    <li><a href="#">4</a></li>
                    <li><a href="#">5</a></li>
                    <li><a href="#">6</a></li>
                    <li><a href="#">7</a></li>
                    <li><a href="#">Next</a></li>
                </ul>
            </div>
        </div>
    </div>
  
</body>
</html>